interface Person{
  id:string
  name:string
  age:number
  gender:string
}

const p1: Person = {
  id: '001',
  name: '张三',
  age: 19,
  gender: '男',
}

const arr: Person[] = [
  { id: '002', name: 'ls', age: 20, gender: '男' },
  { id: '003', name: 'ww', age: 21, gender: '女' },
  { id: '004', name: 'zl', age: 22, gender: '男' },
  { id: '005', name: 'tq', age: 23, gender: '女' },
]

console.log(p1)

console.log(arr)